-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toll booth symbol #3005
toll booth symbol #3005
Conversation
BTW: This PR lacks the icon itself. |
ping @sommerluk
|
1 similar comment
ping @sommerluk
|
Sorry, I’m quite busy currently, but I hope to update this PR with
soon. |
Finally, the missing icon is added to this PR. But area rendering does not work. I had added a query to After taking a look to the It might be better to not put this into amenity-low-priority, but into a layer that renders with higher priority than the road names and one-way arrows (otherwise the icon often stays hidden)… |
So for me it's not a low priority POI, do you plan to change the code to select it as a normal amenity? |
cb7bacd
to
c508df2
Compare
Done. Point-only – no polygon rendering because of the reason explained above. I still have to add the label… |
Area rendering should be perfectly possible - see this example:
|
Using your code, data inspector in Kosmtik selects it from database:
so it should be available for styling. With low priority layers maybe just but maybe also putting it in the Because you wanted to not use low priority some other changes might be needed, but it looks like doable. |
Well, I suppose your example works because this particular “barrier=toll_booth” object has also a “building” tag. With my old code, it was working also fine if a “building” tag was present, but it didn’t render on areas without the “building” tag (or something other that makes them considered as area). How does your code behave on an area that has “barrier=toll_booth” as the only tag? |
sent from a phone
On 5. Feb 2018, at 07:59, Lukas Sommer ***@***.***> wrote:
Well, I suppose your example works because this particular “barrier=toll_booth” object has also a “building” tag.
is there really „toll“ on this footway? Maybe that’s a ticket office and not a toll booth?
|
I don't know this place, I used it simply as a test for this code.
Do you have an example? Overpass exceed the limits when I try to find it. But I think building tag has nothing to do with it. If it was a problem with database, Kosmtik wouldn't detect this object at all. Therefore I think this is a problem with styling only. |
I made a test with prepared data (just removed building and name tags from *.osm file export) and now it's not shown by data inspector with any of our code branches. So it looks that having a building tag makes it selectable somehow. But I guess this would be still good in many cases, as the area might be typically just a building. |
2018-02-05 8:12 GMT+01:00 kocio-pl <[email protected]>:
is there really „toll“ on this footway? Maybe that’s a ticket office and
not a toll booth?
I don't know this place, I used it simply as a test for this code.
I mentioned this because actual toll booths usually come i groups, see e.g.
the foto from the osm wiki:
https://wiki.openstreetmap.org/wiki/File:Toll_booth.jpg
While currently there are usually only 1 toll booth node per direction, in
reality there are many and will sooner or later also be mapped I guess.
Here is an example for place in OSM where you can find nodes and a way at
the same spot, something I have seen quite a few times in the data:
https://www.openstreetmap.org/node/2518925312
https://www.openstreetmap.org/way/476398054
|
Yes, I'm aware of this. My position is that since tagging scheme is not precise, we don't have to decide, just like with ferry terminal (which can mean a stop position, small port, big port etc.). So for now it's enough to render as many cases as possible and let mappers decide. |
Okay. Sorry for long waiting time, I’m currently really busy… PR updated. From my side, it’s ready. No area rendering for the moment. This is because I do not like the idea that the rendering depends of another, not directly related tag (here: The “name” tag is rendered now. |
I suspected that's the case and I was shy to ask. 😄 Thanks for your work! We can rethink areas rendering later, but for now both nodes and labels are rendered, which is a good start. |
Adds a toll booth symbol. Based on the icon of @MaestroGlanz, but without the right bollard (because at 14×14, with the bollard it looks to me a little bit like a dripping oil can). Some small geometry adjustments.
Resolves #958
To discuss:
building=*
tag.